package cn.kgc.common.constant;

import lombok.Getter;

/**
 * @author
 * 业务系统的常量
 */
public class SystemConstant {
    @Getter
    public enum SysUserStatus{
        /**
         * 用户状态
         */
        INCUMBENCY(1,"在职"),
        TURNOVER(2,"离职"),
        TRIAL(3,"试用期");

        SysUserStatus(int code,String description){
            this.code=code;
            this.description=description;
        }
        private int code;
        private String description;
    }

    @Getter
    public enum MenuStatus{
        /**
         * 菜单状态
         */
        ENABLE(1,"启用"),
        DISABLE(2,"禁用");

        MenuStatus(int code,String description){
            this.code=code;
            this.description=description;
        }

        private int code;
        private String description;
    }


    @Getter
    public enum MenuType{
        /**
         * 菜单类型
         */
        COMMON_MENU(1,"菜单"),
        BUTTON_MENU(2,"按钮");

        MenuType(int code,String description){
            this.code=code;
            this.description=description;
        }

        private int code;
        private String description;
    }

}
